home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / manage / nnloop.exe / AUTOEXEC.BAT < prev    next >
DOS Batch File  |  1990-02-05  |  1KB  |  67 lines

  1. @echo off
  2.  
  3. set DEFAULT=
  4. set NNLOOPID=
  5.  
  6. path=a:\;
  7. prompt %NNLOOPID% : $p$g 
  8. if exist a:\*.log del a:\*.log
  9.  
  10. echo  
  11. echo 1. 3Com Etherlink I                    3C501
  12. echo 2. 3Com Etherlink Plus                 3C505
  13. echo 3. 3Com Etherlink II                   3C503
  14. echo 4. Western Digital                     WD8003EB
  15. echo 5. Racal-Interlan                      NI5210
  16. echo 6. Racal-Interlan                      NI6510
  17. echo 7. Standard Microsystems               PC110
  18. echo 8. Racal-Interlan                      NP600A
  19. echo 9. Novell                              NE1000
  20. echo 0. Novell                              NE2000
  21. echo  
  22. :asker
  23. be ask "Enter number for network adapter: ",1234567890 timeout=10 default=%DEFAULT%
  24. echo  
  25. if errorlevel 11 goto end
  26.  
  27. if errorlevel 9 ne2000.com
  28. if errorlevel 9 goto cont
  29.  
  30. if errorlevel 9 ne1000.com
  31. if errorlevel 9 goto cont
  32.  
  33. if errorlevel 8 np600a.com
  34. if errorlevel 8 goto cont
  35.  
  36. if errorlevel 7 pc110.com
  37. if errorlevel 7 goto cont
  38.  
  39. if errorlevel 6 ni6510.com
  40. if errorlevel 6 goto cont
  41.  
  42. if errorlevel 5 ni5210.com
  43. if errorlevel 5 goto cont
  44.  
  45. if errorlevel 4 wd8003eb.com
  46. if errorlevel 4 goto cont
  47.  
  48. if errorlevel 3 3c503.com
  49. if errorlevel 3 goto cont
  50.  
  51. if errorlevel 2 3c505.com
  52. if errorlevel 2 goto cont
  53.  
  54. if errorlevel 1 3c501.com
  55.  
  56. :cont
  57. be ask "Press ESCAPE to continue... ", timeout=5 default=
  58. net4
  59. f:
  60. login supervisor < a:\passfile
  61. cd \
  62. nnloop %NNLOOPID%
  63.  
  64. :end
  65. echo  
  66. echo  
  67.